home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AppleVision - The Multimedia Monitor
/
AppleVision - The Multimedia Monitor (Apple Computer).iso
/
SimpleText
/
SimpleText.rsrc
/
CODE_8_•Init.txt
< prev
next >
Wrap
Text File
|
1995-07-27
|
13KB
|
251 lines
# near model CODE resource
# jump table entries: 400-400 (1 of them)
export_50:
00000000 48E7 7FF8 movem.l -[A7], D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4
00000004 49FA 01A8 lea.l A4, [PC + 0x1A8 /* 000001AE, value 0xBC2, cstring "" */]
00000008 302C 0004 move.w D0, [A4 + 0x4]
0000000C 5340 subq.w D0, 1
0000000E 6704 beq +0x6 /* 00000014 */
00000010 70FF moveq.l D0, 0xFFFFFFFF
00000012 6032 bra +0x34 /* 00000046 */
label00000014:
00000014 264D movea.l A3, A5
00000016 97D4 sub.l A3, [A4]
00000018 2F0B move.l -[A7], A3
0000001A 2F14 move.l -[A7], [A4]
0000001C 6100 014C bsr +0x14E /* 0000016A */
00000020 202C 0008 move.l D0, [A4 + 0x8]
00000024 4874 0800 pea.l [A4 + D0]
00000028 2F0B move.l -[A7], A3
0000002A 6100 002E bsr +0x30 /* 0000005A */
0000002E 504F addq.w A7, 8
00000030 202C 000C move.l D0, [A4 + 0xC]
00000034 4874 0800 pea.l [A4 + D0]
00000038 2F0B move.l -[A7], A3
0000003A 2F0D move.l -[A7], A5
0000003C 6100 00D0 bsr +0xD2 /* 0000010E */
00000040 4FEF 000C lea.l A7, [A7 + 0xC]
00000044 7000 moveq.l D0, 0x00
label00000046:
00000046 4CDF 1FFE movem.l D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4, [A7]+
0000004A 4E75 rts
0000004C 8009 or.b D0, A1
0000004E 5F44 subq.w D4, 7
00000050 4154 chk.w D0, [A4]
00000052 4149 chk.w D0, A1
00000054 4E49 trap 9
00000056 5400 addq.b D0, 2
00000058 0000 226F ori.b D0, 0x6F /* 'o' */
// begin alternate branch 0000005A-00000066
fn0000005A:
0000005A 226F 0004 movea.l A1, [A7 + 0x4]
0000005E 206F 0008 movea.l A0, [A7 + 0x8]
00000062 48E7 1800 movem.l -[A7], D3,D4
// end alternate branch 0000005A-00000066
fn0000005A: // (misaligned)
0000005C 0004 206F ori.b D4, 0x6F /* 'o' */
00000060 0008 48E7 ori.b A0, 0xE7
00000064 1800 move.b D4, D0
label00000066:
00000066 7601 moveq.l D3, 0x01
00000068 7200 moveq.l D1, 0x00
0000006A 1218 move.b D1, [A0]+
0000006C 2401 move.l D2, D1
0000006E 0241 000F andi.w D1, 0xF
00000072 660A bne +0xC /* 0000007E */
00000074 6100 0044 bsr +0x46 /* 000000BA */
00000078 2200 move.l D1, D0
0000007A 6724 beq +0x26 /* 000000A0 */
0000007C 6002 bra +0x4 /* 00000080 */
label0000007E:
0000007E D241 add.w D1, D1
label00000080:
00000080 0242 00F0 andi.w D2, 0xF0
00000084 6608 bne +0xA /* 0000008E */
00000086 6100 0032 bsr +0x34 /* 000000BA */
0000008A 2400 move.l D2, D0
0000008C 6002 bra +0x4 /* 00000090 */
label0000008E:
0000008E E64A lsr D2.w, 3
label00000090:
00000090 D3C2 add.l A1, D2
00000092 2801 move.l D4, D1
label00000094:
00000094 12D8 move.b [A1]+, [A0]+
00000096 5384 subq.l D4, 1
00000098 66FA bne -0x4 /* 00000094 */
0000009A 5383 subq.l D3, 1
0000009C 66F2 bne -0xC /* 00000090 */
0000009E 60C6 bra -0x38 /* 00000066 */
label000000A0:
000000A0 4CDF 0018 movem.l D3,D4, [A7]+
000000A4 4E75 rts
000000A6 8010 or.b D0, [A0]
000000A8 756E moveq.l D2, 0x6E
000000AA 636F bls +0x71 /* 0000011B */
000000AC 6D70 blt +0x72 /* 0000011E */
000000AE 7265 moveq.l D1, 0x65
000000B0 7373 moveq.l D1, 0x73
000000B2 5F77 6F72 6C64 0000 7000 subq.w [[A7 + 0x6C640000] + 0x7000], 7
// begin alternate branch 000000BA-000000BC
fn000000BA:
000000BA 7000 moveq.l D0, 0x00
// end alternate branch 000000BA-000000BC
fn000000BA: // (misaligned)
000000BC 1018 move.b D0, [A0]+
000000BE 6A42 bpl +0x44 /* 00000102 */
000000C0 0800 0006 btst.b D0, 0x6
000000C4 6734 beq +0x36 /* 000000FA */
000000C6 0800 0005 btst.b D0, 0x5
000000CA 6720 beq +0x22 /* 000000EC */
000000CC 0800 0004 btst.b D0, 0x4
000000D0 670A beq +0xC /* 000000DC */
000000D2 61E6 bsr -0x18 /* 000000BA */
000000D4 2600 move.l D3, D0
000000D6 61E2 bsr -0x1C /* 000000BA */
000000D8 C143 exg D0, D3
000000DA 4E75 rts
label000000DC:
000000DC 1018 move.b D0, [A0]+
000000DE E180 asl D0, 8
000000E0 1018 move.b D0, [A0]+
000000E2 E180 asl D0, 8
000000E4 1018 move.b D0, [A0]+
000000E6 E180 asl D0, 8
000000E8 1018 move.b D0, [A0]+
000000EA 4E75 rts
label000000EC:
000000EC 0200 001F andi.b D0, 0x1F
000000F0 E180 asl D0, 8
000000F2 1018 move.b D0, [A0]+
000000F4 E180 asl D0, 8
000000F6 1018 move.b D0, [A0]+
000000F8 4E75 rts
label000000FA:
000000FA 0200 003F andi.b D0, 0x3F /* '?' */
000000FE E180 asl D0, 8
00000100 1018 move.b D0, [A0]+
label00000102:
00000102 4E75 rts
00000104 8006 or.b D0, D6
00000106 6765 beq +0x67 /* 0000016D */
00000108 745F moveq.l D2, 0x5F
0000010A 726C moveq.l D1, 0x6C
0000010C 0000 222F ori.b D0, 0x2F /* '/' */
// begin alternate branch 0000010E-0000011A
fn0000010E:
0000010E 222F 0004 move.l D1, [A7 + 0x4]
00000112 226F 0008 movea.l A1, [A7 + 0x8]
00000116 206F 000C movea.l A0, [A7 + 0xC]
// end alternate branch 0000010E-0000011A
fn0000010E: // (misaligned)
00000110 0004 226F ori.b D4, 0x6F /* 'o' */
00000114 0008 206F ori.b A0, 0x6F /* 'o' */
00000118 000C 7401 ori.b A4, 0x1
// begin alternate branch 0000011A-0000011C
label0000011A:
0000011A 7401 moveq.l D2, 0x01
// end alternate branch 0000011A-0000011C
label0000011A: // (misaligned)
0000011C 7000 moveq.l D0, 0x00
label0000011E:
0000011E 1018 move.b D0, [A0]+
00000120 670C beq +0xE /* 0000012E */
00000122 6A26 bpl +0x28 /* 0000014A */
00000124 0880 0007 bclr.b D0, 0x7
00000128 E188 lsl D0, 8
0000012A 1018 move.b D0, [A0]+
0000012C 601C bra +0x1E /* 0000014A */
label0000012E:
0000012E 1018 move.b D0, [A0]+
00000130 6724